const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token, // token
  avatar: state => state.user.userInfo.staffPhoto, // 用户头像
  name: state => state.user.userInfo.username, // 用户名
  mobile: state => state.user.userInfo.mobile, // 手机号
  dept: state => state.user.userInfo.departmentName, // 部门名
  workNumber: state => state.user.userInfo.workNumber // 工号
}
export default getters
